﻿using NetCore.Model.Enity;
using NetCore.Model.VeiwModels;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace NetCore.IServices.User
{
    public interface IUserService : IBaseService<SysUser>
    {
        /// <summary>
        /// 获取用户数量
        /// </summary>
        /// <returns></returns>
        Task<int> GetCount();

        /// <summary>
        /// 获取用户详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<UserViewModel> GetUserDetails(int id);

        /// <summary>
        /// 获取用户详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<string> AddEquipmentInfo(SysEquipmentinfo sysEquipmentinfo);

        List<OrderLayerwindingmachineequipment> GetOrder_LayerwindingmachineEquipmentInfo();
    }
}